package com.ultrasoft.farmasoft.repository;

import java.util.List;

import com.ultrasoft.farmasoft.domain.Access;

public interface AccessDao {
	public List<Access> getAccessList();
	public List<Access> getAccessListByPharmacyId(Integer pharmacyId);
	public List<Access> getAccessList(Integer userId);
	public List<Access> getAccessList(Integer userId,Integer pharmacyId);
	public List<Access> getAccessList(Integer userId,Integer pharmacyId, short menuId,	short submenuId);
	public Access findByPharmacyIdByUserIdByMenuIdBySubmenuIdByOptionId(Integer pharmacyId,Integer userId,short menuId, short submenuId, short optionId);
	public void add(Access access);
	public void remove(Access access);
}
